package com.ruoyi.recyclecomprehensive.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("gift")
@ApiModel("礼品")
@Accessors(chain = true)
public class Gift implements Serializable {
    private static final long serialVersionUID = -1123023902057531844L;
    @ApiModelProperty(name = "id")
    private Long id;
    @ApiModelProperty(name = "name", value = "礼品名称")
    private String name;
    @ApiModelProperty(name = "stock", value = "库存")
    private Integer stock;
    @ApiModelProperty(name = "price", value = "单价")
    private BigDecimal price;
    @ApiModelProperty(name = "sum", value = "总价")
    private BigDecimal sum;
    @ApiModelProperty(name = "merchantId", value = "综合站ID")
    private Long merchantId;
}
